home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
Aminet
/
dev
/
amos
/
AMOSList-0998.lzh
/
AMOSLIST
/
000024_bounce-amos-li…net@onelist.com_Wed Sep 2 05:27:32 1998.msg
< prev
next >
Wrap
Text File
|
1998-10-01
|
13KB
|
337 lines
>From bounce-amos-list--883-mcox=access.digex.net@onelist.com Wed Sep 2 05:27:32 1998
Received: from onelist.com (pop.onelist.com [209.207.164.13])
by pony-2.mail.digex.net (8.8.8/8.8.8) with SMTP id FAA14481
for <mcox@access.digex.net>; Wed, 2 Sep 1998 05:27:31 -0400 (EDT)
Received: (qmail 27258 invoked by alias); 2 Sep 1998 09:31:09 -0000
Received: (qmail 27252 invoked from network); 2 Sep 1998 09:31:08 -0000
Received: from unknown (HELO rhenium.btinternet.com) (194.73.73.93) by pop.onelist.com with SMTP; 2 Sep 1998 09:31:08 -0000
Received: from np5gt [195.99.56.103] by rhenium.btinternet.com with smtp (Exim 1.70 #1) id 0zE9AJ-0007hk-00; Wed, 2 Sep 1998 10:25:23 +0100
Message-ID: <004401bdd653$cc275000$673863c3@np5gt>
From: "John Glanville" <John.Glanville@btinternet.com>
To: <amos-list@onelist.com>
Date: Wed, 2 Sep 1998 10:26:41 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Mailing-List: list amos-list@onelist.com; contact http://www.onelist.com
Delivered-To: mailing list amos-list@onelist.com
Precedence: bulk
Reply-to: amos-list@onelist.com
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0041_01BDD65C.2CACCF60"
Subject: [amos-list] I SNOW its me again!
Status: O
X-Status:
From: "John Glanville" <John.Glanville@btinternet.com>
This is a multi-part message in MIME format.
------=_NextPart_000_0041_01BDD65C.2CACCF60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hey! My version don't contain wind... and it don't Use Degree either... =
It seems 2 be faster!
Hide On=20
Screen Open 0,320,256,8,Lowres
Flash Off=20
Curs Off=20
Cls 0
C=3D2
NU=3D100
Dim X#(NU),Y#(NU),M#(NU),D#(NU),KEY#(NU),H(320),Z(NU)
For I=3D0 To NU
X#(I)=3DRnd(320)
D#(I)=3DRnd(4)-2
Z(I)=3DRnd(6)
Next I
Colour 1,$444
Colour 2,$777
Colour 3,$999
Colour 4,$BBB
Colour 5,$DDD
Colour 6,$FFF
Colour 7,$FFF
' level of ground...=20
YM=3D200
' Speed of Descent... Maximum movement down
YA=3D8
Do=20
For I=3D0 To NU
=20
' Randomablity Variable Being Used... =20
' Lower the 980 for More Snow at a time....! =20
=20
If KEY#(I)>980
=20
' The Unplot.... Get Rid of the snow 2 B Updated...
=20
F Plot X#(I),Y#(I),0
=20
' Check if X axis Movement has gone 2 an Extreeme + or -....=20
=20
If M#(I)=3DD#(I)
=20
' If so Reset the Target Variable.....=20
=20
D#(I)=3D(Rnd(2)+1)*(-Sgn(D#(I)))
Else=20
=20
' If not Try and Reach the Target Variable (D#) 4 next Time! =
=20
=20
If M#(I)<D#(I)
M#(I)=3DM#(I)+Rnd(1)+0.5
Else=20
M#(I)=3DM#(I)-Rnd(1)-0.5
End If=20
=20
End If=20
=20
' Randomized amounts of falling speed....
=20
YV=3DRnd(YA)+1
=20
' Add the X axis Movement Variable 2 the X axis Variable...
=20
X#(I)=3DX#(I)+M#(I)
=20
' Check 4 X Over Screen Limits....
=20
If X#(I)>320
X#(I)=3DX#(I)-320
End If=20
If X#(I)<0
X#(I)=3D320+X#(I)
End If=20
=20
' Check And C if Snow Has Landed...
=20
If Y#(I)+YV>YM-H(X#(I))
=20
' See How High the snow is below the new Flake...
=20
If H(X#(I))>Rnd(4)+2
XV=3DRnd(2)-1
X#(I)=3DX#(I)+XV
End If=20
=20
' The Dead SnowFlake...
=20
F Plot X#(I),YM-H(X#(I)),Z(I)
=20
' Reset SnowFlake
=20
H(X#(I))=3DH(X#(I))+1
KEY#(I)=3D0
X#(I)=3DRnd(320)
Y#(I)=3D0
=20
Else=20
' Plot if SnowFlake in Air...
=20
Y#(I)=3DY#(I)+YV
F Plot X#(I),Y#(I),Z(I)
=20
End If=20
Else=20
=20
' Randomability Variable That a SnowFlake will Fall... =20
=20
KEY#(I)=3DRnd(1000)
=20
End If=20
Next I
Loop=20
Bye!!!!!!!
------=_NextPart_000_0041_01BDD65C.2CACCF60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hey! My version don't contain =
wind... and it=20
don't Use Degree either... It seems 2 be faster!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>Hide On <BR>Screen Open=20
0,320,256,8,Lowres<BR>Flash Off <BR>Curs Off <BR>Cls 0</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>C=3D2<BR>NU=3D100<BR>Dim=20
X#(NU),Y#(NU),M#(NU),D#(NU),KEY#(NU),H(320),Z(NU)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>For I=3D0 To NU<BR> =20
X#(I)=3DRnd(320)<BR> D#(I)=3DRnd(4)-2<BR> =20
Z(I)=3DRnd(6)<BR>Next I<BR>Colour 1,$444<BR>Colour 2,$777<BR>Colour=20
3,$999<BR>Colour 4,$BBB<BR>Colour 5,$DDD<BR>Colour 6,$FFF<BR>Colour=20
7,$FFF</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>' level of ground... =
<BR>YM=3D200<BR>' Speed of=20
Descent... Maximum movement down<BR>YA=3D8</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>Do <BR> For I=3D0 To=20
NU<BR> <BR> =
'=20
Randomablity Variable Being Used... =
<BR> '=20
Lower the 980 for More Snow at a time....! =20
<BR> <BR> If =
KEY#(I)>980<BR> =20
<BR> ' The Unplot.... =
Get Rid of=20
the snow 2 B =
Updated...<BR> =20
<BR> F Plot=20
X#(I),Y#(I),0<BR> =20
<BR> ' Check if X axis =
Movement=20
has gone 2 an Extreeme + or -....=20
<BR> =20
<BR> If=20
M#(I)=3DD#(I)<BR> &n=
bsp; =20
<BR> ' =
If so=20
Reset the Target Variable.....=20
<BR> =20
<BR> =20
D#(I)=3D(Rnd(2)+1)*(-Sgn(D#(I)))<BR> &=
nbsp; =20
Else =
<BR> =20
<BR> ' =
If not=20
Try and Reach the Target Variable (D#) 4 next Time! =20
<BR> =20
<BR> =
If=20
M#(I)<D#(I)<BR> &=
nbsp; =20
M#(I)=3DM#(I)+Rnd(1)+0.5<BR> &nb=
sp; =20
Else=20
<BR> &nb=
sp; =20
M#(I)=3DM#(I)-